<?php
class YammerAuthMapper implements IDataMapper {
	
	public function mapRow($row) {
		$yammerAuthDto = new YammerAuthDto();
		$yammerAuthDto->setUserId($row['userid']);
		$yammerAuthDto->setOAuthToken($row['oauth_token']);
		$yammerAuthDto->setOAuthTokenSecret($row['oauth_token_secret']);
		$yammerAuthDto->setOAuthVerifier($row['oauth_verifier']);
		$yammerAuthDto->setYammerId($row['yammer_id']);
		return $yammerAuthDto;
	}
}
?>
